@extends("layout")
@section("content")

<h1>Create your acount using Facebook?</h1>
<h2>Login now by clicking this button:</h2>
    {{ Form::open(array("route" => "user/login", "autocomplete" => "off")) }}
        {{ Form::text("username", Input::get("username"), array("placeholder" => "username")) }}
        {{ Form::password("password", array("placeholder" => "password")) }}
        @if ($error = $errors->first("password"))
            <div class="error">
                {{ $error }}
            </div>
        @endif
        {{ Form::submit("login", array('id' => 'btnLogin', 'class' => 'btn btn-primary')) }}
    {{ Form::close() }}
@stop
@section("footer")
    @parent
    <script src="//polyfill.io"></script>
@stop